package org.paradise.dms.dao.impl;

import java.sql.Connection;
import java.sql.PreparedStatement;

import org.apache.log4j.Logger;
import org.paradise.dms.pojo.BaseException;
import org.paradise.dms.pojo.RespStation;
import org.paradise.dms.util.RespStationUtil;

import com.dheaven.framework.dao.DaoException;
/**
 * 
 * Description: 发件箱
 * 
 * @version1.1 李韦 
 * @return
 */


public class RespStationDaoImpl extends  BaseDaoImpl<RespStation>{
		private static Logger log = Logger.getLogger(RespStationDaoImpl.class);
		
		public RespStationDaoImpl() {
			super.setTableName(DataTable.getDataTableName("respstation"));
		}
		/**
		 * 
		 * Description: 增加一条发送状态
		 * 
		 * @Version1.0李韦创建
		 * @throws DaoException
		 */

		@Override
		protected PreparedStatement getAdd(Connection conn, RespStation t,String tableName)
				throws BaseException {
			return RespStationUtil.getInsertPreparedStatement(conn, t,tableName);
		}
		
	}